package com.msun.service;



import com.msun.entity.PageResult;
import com.msun.entity.QueryPageBean;
import com.msun.pojo.Food;

import java.util.List;

public interface FoodService {
    void add(List<Food> list);
    PageResult findAll(QueryPageBean queryPageBean);
    void addFood(Food food);
    List<String> findFoodById(Integer id);
    List<Food> findAllFoods(Integer id);
    List<Integer> findFoodIdsByOrderId(Integer id);
    void edit(Food food);
    void deleteById(Integer id);
}
